.contentarea form
{
	margin:10px;
}

.contentarea fieldset{
	border:0 none transparent;
	border-radius: 10px;
	-moz-box-shadow: 0 0 5px #999;
	-webkit-box-shadow: 0 0 5px #999;
	box-shadow: 0 0 5px #999;
	margin: 5px;
}

.contentarea fieldset legend
{
	top:0;	
	font-size:12px;
	display:block;
	color:#06c;
}

.row{
	padding:5px;
	clear:both;
}

input[type="text"],input[type="password"],input[type="file"],input[type="checkbox"], select, textarea, .inputbox{
	border:1px solid #666666; 
	border-radius:3px; 
	box-shadow:inset 1px 1px 3px rgba(0,0,0,0.3); 
	padding:3px; 
	font-size:14px;
	outline:none;
}

input[type="text"]:hover,input[type="password"]:hover,input[type="file"]:hover,input[type="checkbox"]:hover, select:hover, textarea:hover, .input:hover{
	border:1px solid #333333;
}

input[type="text"]:focus,input[type="password"]:focus,input[type="file"]:focus,input[type="checkbox"]:focus, select:focus, textarea:focus, .input:focus{
	border:1px solid #0066cc
}

input[type="text"].invalid,input[type="password"].invalid,input[type="file"].invalid,input[type="checkbox"].invalid, select.invalid, textarea.invalid, .inputbox.invalid{
	border:1px solid #c10; 
	background-color:#ffeeee
}

label{
	display:block; 
	float:left; 
	vertical-align:middle; 
	width:150px; 
	margin-right:10px; 
	text-align:right
}

label.no-fixed
{
	display:inline-block;
	width:auto;
	float:none;
}

form .buttonarea
{
	position:static;
	width:auto;
	background-color:#f0f0f0;
	border:0 none transparent;
	border-radius: 10px;
	-moz-box-shadow: 0 0 5px #999;
	-webkit-box-shadow: 0 0 5px #999;
	box-shadow: 0 0 5px #999;
	margin: 5px;

}

.ui-widget{font-size:12px;}

.ui-buttonset label{float:left}

/* Selectmenu
----------------------------------*/
.ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; zoom: 1; }
.ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; }
.ui-selectmenu-menu { padding:0; margin:0; position:absolute; top: 0; display: none; z-index: 1005;} /* z-index: 1005 to make selectmenu work with dialog */
.ui-selectmenu-menu  ul { padding:0; margin:0; list-style:none; position: relative; overflow: auto; overflow-y: auto ; overflow-x: hidden; -webkit-overflow-scrolling: touch;} 
.ui-selectmenu-open { display: block; }
ul.ui-selectmenu-menu-popup { margin-top: -1px; }
.ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; }
.ui-selectmenu-menu li a,.ui-selectmenu-status { line-height: 1.4em; display: block; padding: .405em 2.1em .405em 1em; outline:none; text-decoration:none; }
.ui-selectmenu-menu li.ui-state-disabled a, .ui-state-disabled { cursor: default; }
.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status { padding-left: 20px; position: relative; margin-left: 5px; }
.ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; }
.ui-selectmenu-status { line-height: 1.4em; }
.ui-selectmenu-menu li span,.ui-selectmenu-status span { display:block; margin-bottom: .2em; }
.ui-selectmenu-menu li .ui-selectmenu-item-header { font-weight: bold; }
.ui-selectmenu-menu li .ui-selectmenu-item-footer { opacity: .8; }
/* for optgroups */
.ui-selectmenu-menu .ui-selectmenu-group { /*font-size: 1em;*/ }
.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label { line-height: 1.4em; display:block; padding: .6em .5em 0; font-weight: bold; }
.ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; }
/* IE6 workaround (dotted transparent borders) */
* html .ui-selectmenu-menu li { border-color: pink; filter:chroma(color=pink); width:100%; }
* html .ui-selectmenu-menu li a { position: relative }
/* IE7 workaround (opacity disabled) */
*+html .ui-state-disabled, *+html .ui-state-disabled a { color: silver; }

